<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018-05-02
  Time: 下午 05:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>生成二维码</title>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8">
    <%--<script src="/js/jquery.min.js"></script>//两个js文件的顺序不能乱,--%>
    <%--<script src="/js/jquery.qrcode.min.js"></script>//这个是基于jquery开发的--%>
    <script src="${pageContext.request.contextPath}/js/jquery.min.js"></script>//这个是基于jquery开发的
    <script src="${pageContext.request.contextPath}/common/bootstrap-3.3.7/js/jquery.qrcode.min.js"></script>//这个是基于jquery开发的

</head>
<body>
生成的二维码如下<br>
<div id="qrcode"></div>
<script>
    $('#qrcode').qrcode("www.baidu.com");
</script>
</body>
</html>
